package _2_faceobject;
/*
 * 对象的引用传递
 * */
public class QuoteDeliver {

	public static void main(String[] args) 
	{
		Student stu1 = new Student();
		stu1.age = 23;
		System.out.println(stu1.age);
		
		Student stu2 = stu1;
		System.out.println(stu2.age);
		System.out.println(stu1);//faceobject.Student@4e50df2e
		System.out.println(stu2);//faceobject.Student@4e50df2e
		//内存地址一样，说明对象间的赋值是内存地址的赋值
	}

}
